package com.appbase.custom.base;

import android.os.Parcel;
import android.os.Parcelable;

@Deprecated
public class ServiceBought  implements Parcelable {
    //1 够买过 0 未买过
    public int ai_server;
    public int server;
    public int sim_server;
    public int car_server;

    public ServiceBought() {

    }

    protected ServiceBought(Parcel in) {
        ai_server = in.readInt();
        server = in.readInt();
        sim_server = in.readInt();
        car_server = in.readInt();
    }

    public static final Creator<ServiceBought> CREATOR = new Creator<ServiceBought>() {
        @Override
        public ServiceBought createFromParcel(Parcel in) {
            return new ServiceBought(in);
        }

        @Override
        public ServiceBought[] newArray(int size) {
            return new ServiceBought[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(ai_server);
        dest.writeInt(server);
        dest.writeInt(sim_server);
        dest.writeInt(car_server);
    }
}
